package com.piz.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author prameetk.sharma
 *
 */
@Entity
@Table(name="bpo_centers")
public class BPO_Details implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;
	private String name;
	private String city;
	private String state;
	private String country;
	/**
	 * 
	 */
	
	public BPO_Details() {
		// TODO Auto-generated constructor stub
	}
	/**
	 * @param name
	 * @param city
	 * @param state
	 */
	public BPO_Details(String name, String city, String state, String country) {
		this.name = name;
		this.city = city;
		this.state = state;
		this.country = country;
	}
	/**
	 * @return the Long id
	 */
	@Id
    @GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="ID")
	public Long getId() {
		return id;
	}
	/**
	 * @param id Long the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the String name
	 */
	@Column(name="Name")
	@NotEmpty
	public String getName() {
		return name;
	}
	/**
	 * @param name String the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the String city
	 */
	@Column(name="City")
	@NotEmpty
	public String getCity() {
		return city;
	}
	/**
	 * @param city String the city to set
	 */
	public void setCity(String city) {
		this.city = city;
	}
	/**
	 * @return the String state
	 */
	@Column(name="state")
	@NotEmpty
	public String getState() {
		return state;
	}
	/**
	 * @param state String the state to set
	 */
	public void setState(String state) {
		this.state = state;
	}
	/**
	 * @return the String country
	 */
	@Column(name="country")
	@NotEmpty
	public String getCountry() {
		return country;
	}
	/**
	 * @param country String the country to set
	 */
	public void setCountry(String country) {
		this.country = country;
	}
	
	

}
